
<?php
	//check if session is not registered, then redirect back to main login page
	//put this code in first line of web page

	/*use template to create pages*/
	include('templates/header.html');

	session_start();
	if(!session_is_registered(myusername)){
		header("location:index.php");
		}
		?>
		
<html>
<body>
Login Successfully !
</body>
</html>